{
	"definitions" : [//Dyes: Black=0 Red =1 Green=2 Brown=3 Blue=4 Purple=5 UNU=6 Silver=7 Grey=8 Pink=9 Lime=10 Yellow=11 Light Blue=12 Magenta=13 Orange=14 White=15
		{
			"subName" : "",
			"extraMaterials" : ["minecraft:dye:0:1", "minecraft:dye:4:3"]
		},
		{
			"subName" : "_desert",
			"extraMaterials" : ["minecraft:dye:0:1", "minecraft:dye:11:3"]
		},
		{
			"subName" : "_forrest",
			"extraMaterials" : ["minecraft:dye:0:1", "minecraft:dye:2:3"]
		},
		{
			"subName" : "_winter",
			"extraMaterials" : ["minecraft:dye:8:1", "minecraft:dye:15:3"]
		}
	],
	
	"general": {
		"numberWindows" : 4,
		"type" : "car",
		"openTop" : true,
		"emptyMass" : 1200,
		"materials" : ["minecraft:iron_ingot:0:30"]
	},

	"motorized" : {
		"fuelCapacity" : 15000,
		"hornSound" : "unuparts:unuparts_horn_car_1",
		"instruments" : [
			{ //Main Right
				"pos" : [0.40625, 0.875, 1.749375],
				"rot" : [0, 0, 0],
				"hudpos" : [60, 60],
				"scale" : 0.015625,
				"hudScale" : 0.85
			},
			{ //Main Left
				"pos" : [0.59375, 0.875, 1.749375],
				"rot" : [0, 0, 0],
				"hudpos" : [40, 60],
				"scale" : 0.015625,
				"hudScale" : 0.85
			}
		],
		"controls" : []
	},

	"car" : {
		"isBigTruck" : false,
		"isFrontWheelDrive" : true,
		"isRearWheelDrive" : true,
		"dragCoefficient" : 0.45,
		"axleRatio" : 3.14
	},
	
	"parts": [
		{
			"pos" : [0.9375, 0.0, 0.0],
			"turnsWithSteer" : false,
			"isController" : false,
			"types" : ["wheel"],
			"minValue" : 0.6,
			"maxValue" : 1.125
		},
		{
			"pos" : [-0.9375, 0.0, 0.0],
			"turnsWithSteer" : false,
			"isController" : false,
			"types" : ["wheel"],
			"minValue" : 0.6,
			"maxValue" : 1.125
		},
		{
			"pos" : [0.9375, 0.0, 2.5],
			"turnsWithSteer" : true,
			"isController" : false,
			"types" : ["wheel"],
			"minValue" : 0.6,
			"maxValue" : 1.125
		},
		{
			"pos" : [-0.9375, 0.0, 2.5],
			"turnsWithSteer" : true,
			"isController" : false,
			"types" : ["wheel"],
			"minValue" : 0.6,
			"maxValue" : 1.125
		},
		{
			"pos" : [0.5, 0.5625, 0.75],
			"turnsWithSteer" : false,
			"isController" : true,
			"types" : ["seat"]//,
			//"customTypes" : ["unu_p3"]
		},
		{
			"pos" : [-0.5, 0.5625, 0.75],
			"turnsWithSteer" : false,
			"isController" : false,
			"types" : ["seat"]//,
			//"customTypes" : ["unu_p3"]
		},
		{
			"pos" : [0.375, 0.8125, -0.1875],
			"turnsWithSteer" : false,
			"isController" : false,
			"types" : ["crate"],
			"minValue" : 1,
			"maxValue" : 3
		},
		{
			"pos" : [-0.375, 0.8125, -0.1875],
			"turnsWithSteer" : false,
			"isController" : false,
			"types" : ["crate"],
			"minValue" : 1,
			"maxValue" : 3
		},
		{
			"pos" : [0, 0.1875, 2.25],
			"types" : ["engine_car"],
			//"customTypes" : ["v6", "v8"],
			"minValue" : 0.4,
			"maxValue" : 0.7
		},
		{
			"pos" : [0.5, 0.25, -0.938125],
			"overrideMirror" : true,
			"inverseMirroring" : true,
			"types" : ["custom"],
			"customTypes" : ["bumpersticker"],
			"minValue" : 0.0,
			"maxValue" : 1.0
		},
		{
			"pos" : [-0.125, 0.25, -0.938125],
			"overrideMirror" : true,
			"inverseMirroring" : true,
			"types" : ["custom"],
			"customTypes" : ["bumpersticker"],
			"minValue" : 0.0,
			"maxValue" : 1.0
		},
		{
			"pos" : [0.5, 0.125, -0.938125],
			"types" : ["custom"],
			"customTypes" : ["bumpersticker"],
			"minValue" : 0.0,
			"maxValue" : 1.0
		},
		{
			"pos" : [-0.125, 0.125, -0.938125],
			"overrideMirror" : true,
			"inverseMirroring" : true,
			"types" : ["custom"],
			"customTypes" : ["bumpersticker"],
			"minValue" : 0.0,
			"maxValue" : 1.0
		}
	],
	
	"collision": [
		 { //Hood
			"pos" : [0, 0.84375, 2.5625],
			"width" : 1.375,
			"height" : 0.125
		},
		{ //Back 1
			"pos" : [0, 0.46875, -0.0625],
			"width" : 1.25,
			"height" : 0.125
		},
		{ //Wheel 1
			"pos" : [0.9375, 0.75, 2.5],
			"width" : 0.125,
			"height" : 0.125
		},
		{ //Wheel 2
			"pos" : [-0.9375, 0.75, 2.5],
			"width" : 0.125,
			"height" : 0.125
		},
		{ //Wheel 3
			"pos" : [0.9375, 0.75, 0.0],
			"width" : 0.125,
			"height" : 0.125
		},
		{ //Wheel 4
			"pos" : [-0.9375, 0.75, 0.0],
			"width" : 0.125,
			"height" : 0.125
		}
	],

	"rendering": {
  		"hudBackplaneTexturePercentages" : [0.09767, 0.09768, 0.19532, 0.19533],
		"hudMouldingTexturePercentages" : [0.26173, 0.26174, 0.13673, 0.13674],
		"defaultDisplayText" : "BT-0000",
		"displayTextMaxLength" : 7,
		"textMarkings" : [
			{
				"pos" : [0.65625, 0.21875, 3.381875],
				"rot" : [0, 0, 0],
				"scale" : 0.13,
				"color" : "#000000"
			},
			{
				"pos" : [-0.65625, 0.21875, -0.944375],
				"rot" : [0, 180, 0],
				"scale" : 0.13,
				"color" : "#000000"
			}
		],
		"rotatableModelObjects" : [
			{
				"partName" : "$GasPedal",
				"rotationPoint" : [0.125, 0.28125, 1.625],
				"rotationAxis" : [1, 0, 0],
				"rotationVariable" : "throttle"
			},
			{
				"partName" : "$BrakePedal",
				"rotationPoint" : [0.375, 0.28125, 1.625],
				"rotationAxis" : [0.5, 0, 0],
				"rotationVariable" : "brake"
			},
			{
				"partName" : "$BrakePedal",
				"rotationPoint" : [0.375, 0.28125, 1.625],
				"rotationAxis" : [-0.5, 0, 0],
				"rotationVariable" : "p_brake"
			},
			{
				"partName" : "$Shifter",
				"rotationPoint" : [0.5, 0.875, 1.5],
				"rotationAxis" : [0, -0.7071, 0.7071],
				"rotationVariable" : "gearshift"
			},
			{
				"partName" : "$SteeringWheel",
				"rotationPoint" : [0.5, 0.875, 1.5],
				"rotationAxis" : [0, 0.7071, -0.7071],
				"rotationVariable" : "steeringwheel"
			},
			{
				"partName" : "$RearAxle",
				"rotationPoint" : [0, 0, 0],
				"rotationAxis" : [1, 0, 0],
				"rotationVariable" : "driveshaft"
			},
			{
				"partName" : "$RightBearing",
				"rotationPoint" : [-0.9375, 0.0, 2.5],
				"rotationAxis" : [0, 1, 0],
				"rotationVariable" : "steeringwheel"
			},
			{
				"partName" : "$RightHub",
				"rotationPoint" : [-0.9375, 0.0, 2.5],
				"rotationAxis" : [0, 1, 0],
				"rotationVariable" : "steeringwheel"
			},
			{
				"partName" : "$RightHub",
				"rotationPoint" : [-0.9375, 0.0, 2.5],
				"rotationAxis" : [1, 0, 0],
				"rotationVariable" : "driveshaft"
			},
			{
				"partName" : "$LeftBearing",
				"rotationPoint" : [0.9375, 0.0, 2.5],
				"rotationAxis" : [0, 1, 0],
				"rotationVariable" : "steeringwheel"
			},
			{
				"partName" : "$LeftHub",
				"rotationPoint" : [0.9375, 0.0, 2.5],
				"rotationAxis" : [0, 1, 0],
				"rotationVariable" : "steeringwheel"
			},
			{
				"partName" : "$LeftHub",
				"rotationPoint" : [0.9375, 0.0, 2.5],
				"rotationAxis" : [1, 0, 0],
				"rotationVariable" : "driveshaft"
			},
			{
				"partName" : "$FrontDriveshaft",
				"rotationPoint" : [-0.1875, 0.15625, 1.75],
				"rotationAxis" : [0.56124, 0.43182, -1.87044],
				"rotationVariable" : "driveshaft"
			},
			{
				"partName" : "$RearDriveshaft",
				"rotationPoint" : [0, 0.15625, 1.625],
				"rotationAxis" : [0, -0.20906, -1.98904],
				"rotationVariable" : "driveshaft"
			},
			{
				"partName" : "$HoodL",
				"rotationPoint" : [0, 0.84375, 2.0625],
				"rotationAxis" : [0, 0, 1],
				"rotationVariable" : "hood"
			}
		]
	}
}	
